import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
    {
        path: '/',
        redirect: '/index',
    },
    {
        path: '/index',
        name: 'index',
        component: () => import('@/views/index/index.vue'),
    },
    {
        path: '/exchange',
        name: 'exchange',
        component: () => import('@/views/exchange/exchange.vue'),
    },
    {
        path: '/flow',
        name: 'flow',
        component: () => import('@/views/flow/flow.vue'),
    },
    {
        path: '/input',
        name: 'input',
        component: () => import('@/views/input/input.vue'),
    },
    {
        path: '/invited',
        name: 'invited',
        component: () => import('@/views/invited/invited.vue')
    },
    {
        path: '/invitedInput',
        name: 'invitedInput',
        component: () => import('@/views/input/invitedInput.vue'),
    },
    {
        path: '/gameCenter',
        name: 'gameCenter',
        component: () => import('@/views/gameCenter/gameCenter.vue'),
    },
    {
        path: '/game',
        name: 'game',
        component: () => import('@/views/game/game.vue'),
    },
    {
        path: '/egg',
        name: 'egg',
        component: () => import('@/views/egg/egg.vue'),
    },
    {
        path: '/turntable',
        name: 'turntable',
        component: () => import('@/views/turntable/turntable.vue'),
    },
    {
        path: '/news',
        name: 'news',
        component: () => import('@/views/news/news.vue'),
    },
]

export default routes